<?php
// get the required global functions
require_once("global_funcs.inc.php");


// check for valid logins
check_login();

// connect to Database
$db = connect_db();

// if connection fails
if($db == null)
    die("There is some error at the server, please come back again");

?>
